﻿# Peasant Faction Leader generated when the faction sends their demand
peasant_faction_leader_template = {
	age = { 20 40 }
	dynasty = generate
	trait = brave
	random_traits_list = {
		count = 1
		education_martial_2 = { weight = { base = 50 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = 2
		just = {}
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		compassionate = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
	}
	random_traits_list = {
		count = 1
		intellect_bad_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 5 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 5 } }
		giant = { weight = { base = 5 } }
		reckless = { weight = { base = 20 } }
		rough_terrain_expert = { weight = { base = 20 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 20 } }
	}
	trait = peasant_leader
	random_traits = no
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		add_random_tourney_participant_level_effect = yes
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 150
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

# Populist Faction Leader generated when the faction sends their demand
populist_faction_leader_template = {
	age = { 20 40 }
	dynasty = generate
	trait = brave
	random_traits_list = {
		count = 1
		education_martial_2 = { weight = { base = 50 } }
		education_martial_3 = { weight = { base = 30 } }
		education_martial_4 = { weight = { base = 20 } }
	}
	random_traits_list = {
		count = 2
		just = {}
		ambitious = {}
		diligent = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		compassionate = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		generous = {}
		greedy = {}
		zealous = {}
	}
	
	# Is guaranteed a good trait - You aren't a "popular" leader for nothing
	random_traits_list = {
		count = 1
		beauty_good_1 = { weight = { base = 10 } }
		beauty_good_2 = { weight = { base = 5 } }
		intellect_good_1 = { weight = { base = 10 } }
		intellect_good_2 = { weight = { base = 5 } }
		physique_good_1 = { weight = { base = 10 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 15 } }
		shrewd = { weight = { base = 15 } }
		tourney_participant = { weight = { base = 20 } }
	}
	
	# Add a commander trait
	random_traits_list = {
		count = 1
		logistician = { weight = { base = 10 } }
		organizer = { weight = { base = 10 } }
		open_terrain_expert = { weight = { base = 10 } }
		rough_terrain_expert = { weight = { base = 10 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		holy_warrior = { weight = { base = 10 } }
	}
	random_traits = no
	martial = {
		min_template_decent_skill
		max_template_high_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		add_random_tourney_participant_level_effect = yes
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 150
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

# Nomadic Faction Leader generated when the faction sends their demand
nomadic_faction_leader_template = {
	age = { 20 40 }
	dynasty = generate
	trait = nomadic_philosophy
	trait = brave
	trait = open_terrain_expert
	trait = lifestyle_seasoned_pastor
	random_traits_list = {
		count = 1
		education_martial_2 = { weight = { base = 50 } }
		education_martial_3 = { weight = { base = 30 } }
		education_martial_4 = { weight = { base = 20 } }
	}
	random_traits_list = {
		count = 2
		just = {}
		ambitious = {}
		diligent = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		compassionate = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		generous = {}
		greedy = {}
		zealous = {}
	}
	
	random_traits_list = {
		count = 1
		physique_good_1 = { weight = { base = 10 } }
		physique_good_2 = { weight = { base = 5 } }
		physique_good_3 = { weight = { base = 2 } }
		strong = { weight = { base = 35 } }
	}
	
	# Add a commander trait
	random_traits_list = {
		count = 2
		logistician = { weight = { base = 10 } }
		organizer = { weight = { base = 10 } }
		rough_terrain_expert = { weight = { base = 10 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
	}
	random_traits = no
	martial = {
		min_template_high_skill
		max_template_high_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		add_random_tourney_participant_level_effect = yes
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 150
			}
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}
